package com.exam.service;
import com.exam.entity.FillQuestion;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface FillQuestionService {
    FillQuestion addFillQuestion(FillQuestion fillQuestion);

    FillQuestion updateFillQuestion(Long id, FillQuestion fillQuestion);

    void deleteFillQuestion(Long id);

    FillQuestion getFillQuestionById(Long id);

    List<FillQuestion> getAllFillQuestions();
    boolean checkDuplicate(FillQuestion fillQuestion);

void importFillQuestions(List<FillQuestion> fillQuestions);

Page<FillQuestion> getAllFillQuestions(Pageable pageable); // 分页查询

}